﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Dominio;

namespace PresentacionWeb
{
    public partial class SportifMasterPage : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            AdministracionHandler adm = new FabricaConcreta().getAdministracionHandler();
            foreach (BLCategoria cat in adm.getBLCategorias())
            {
                if (cat.CatEstado != 0)
                {
                    ListItem li = new ListItem(cat.CatDescripcion, cat.CatId.ToString());
                    //ddlCategorias.Items.Add(li);

                }
            }
        }
    }
}
